#define _CRT_SECURE_NO_WARNINGS 1
#include <stdio.h>

int main() {
	int i, j = 18, n, m;
	char a[20][20] = { 0 };
	while (scanf("%d", &n) != -1)
	{
		
		for (i = 0; i < 20; i++)
			for (j = 0; j < 20; j++)
			{
				a[i][j] = ' ';
			}
		j = 0; m = n - 1;

		for (i = 0; i < n; i++)
		{
			a[i][m] = '*';
			a[i][i] = '*';
			m--;
		}
		for (i = 0; i < n; i++)
		{
			for (j = 0; j < n; j++)
			{
				printf("%c", a[i][j]);

			}
			printf("\n");
		}
	}
	printf("\n");

	return 0;
}